<?php
echo "计算机输入的两个整数加减乘除的结果\n";
echo "请输入两个整数，用英文逗号分隔：\n";
fscanf(STDIN, "%d ,%d", $a, $b);
$he = $a + $b;
$cha = $a - $b;
$ji =$a * $b;
$shang =$a / $b;
echo "$a + $b = $he\n";
echo "$a - $b = $cha\n";
echo "$a * $b = $ji\n";
echo "$a / $b = $shang\n";